<div id="sidebar" class="layui-side layui-bg-black">
    <div class="user-photo">
        <a class="img" title="我的头像">
            @if(isEmpty(avatar)){
            <img src="${ctxPath}/static/images/girl.gif"/>
            @}else{
            <img src="${ctxPath}/kaptcha/${avatar}"/>
            @}
        </a>
        <p><span class="userName">${shiro.getUser().realName}</span></p>
    </div>
    <div id="sidebarMenu" class="sidebar-menu layui-side-scroll"></div>
</div>